package com.yex.service;

import com.baomidou.mybatisplus.service.IService;
import com.yex.common.utils.PageUtils;
import com.yex.entity.BankEntity;
import com.yex.utils.JsonResultVo;

import java.util.List;
import java.util.Map;

/**
 * 银行卡
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-12-26 13:49:09
 */
public interface BankService extends IService<BankEntity> {

    PageUtils queryPage(Map<String, Object> params,String filter);

    JsonResultVo insertBank(BankEntity bankEntity);

    JsonResultVo selectBankByUserId(Integer userId);

    List<BankEntity> selectBankListByUserId(Integer userId);

    JsonResultVo deleteBank(String id, Integer userId);
}

